EMT Practice Test

1. Question Content...


Question List

Question1: SIMULATION
Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)https:// lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s46-c-k-no/ photo.jpg

Question2: Which of the following is a valid IPv6 address?

Question3: Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

Question4: How can the existing environment variable FOOBAR be suppressed for the execution of the script./ myscript only?

Question5: SIMULATION
With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Question6: Which configuration file would be edited to change the default options for outbound SSH sessions?

Question7: Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

Question8: SIMULATION
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Question9: Which of the following commands puts the output of the command date into the shell variable mydate?

Question10: Which command makes the shell variable named VARIABLE visible to subshells?

Question11: Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)

Question12: Where are user specific crontabs stored?

Question13: Which of the following commands lists all defined variables and functions within Bash?

Question14: Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

Question15: SIMULATION
Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)

Question16: SIMULATION
In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

Question17: SIMULATION
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)

Question18: SIMULATION
Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

Question19: Each entry in a crontab must end with what character?

Question20: What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

Question21: What is true regarding TCP port 23?

Question22: SIMULATION
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)

Question23: SIMULATION
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

Question24: Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

Question25: What is the purpose of the file /etc/profile?

Question26: When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?

Question27: SIMULATION
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)

Question28: SIMULATION
What word is missing from the following SQL statement?
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)

Question29: Which of the following statements is valid in the file /etc/nsswitch.conf?

Question30: What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

Question31: Why is the correct configuration of a system's time zone important?

Question32: Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)

Question33: What is the purpose of the nsswitch.conf file?

Question34: What is a purpose of an SSH host key?

Question35: Which of the following commands can be used to limit the amount of memory a user may use?

Question36: Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

Question37: SIMULATION
Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)

Question38: For accessibility assistance, which of the following programs is an on-screen keyboard?

Question39: SIMULATION
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

Question40: Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?

Question41: SIMULATION
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Question42: Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

Question43: Which configuration file would be edited to change default options for the OpenSSH server?

Question44: Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

Question45: What is true regarding the command sendmail?

Question46: How is a display manager started?

Question47: What is true about the ntpdate command?

Question48: SIMULATION
With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)

Question49: Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

Question50: Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

Question51: Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

Question52: Which of the following are syslog facilities? (Choose TWO correct answers.)

Question53: SIMULATION
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information?
(Specify ONLY the option without any values or parameters.)

Question54: What output will the command seq 10 produce?

Question55: Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?

Question56: Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?

Question57: Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

Question58: SIMULATION
After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

Question59: SIMULATION
What command displays all aliases defined in the current shell? (Specify the command without any path information)

Question60: Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)

Question61: SIMULATION
In which file, if present, must all users be listed that are allowed to use the cron scheduling system?
(Specify the full name of the file, including path.)

Question62: Which of the following files assigns a user to its primary group?

Question63: SIMULATION
After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

Question64: Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

Question65: What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a;
done

Question66: Which command can be used to delete a group from a Linux system?

Question67: Which of the following commands will help identify a broken router between the local and the remote machine?

Question68: Which of the following is observed and corrected by a NTP client?

Question69: Which of the following is true about IPv6?

Question70: What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

Question71: What is true regarding the file ~/.forward?

Question72: SIMULATION
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Question73: To prevent a specific user from scheduling tasks with at, what should the administrator do?

Question74: Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

Question75: SIMULATION
What is the name of the simple graphical login manager that comes with a vanilla X11 installation?
(Specify ONLY the command without any path or parameters.)

Question76: Which of the following details is NOT provided in any output from the netstat utility?

Question77: SIMULATION
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)

Question78: Which of the following find commands will print out a list of files owned by root and with the SUID bit set in / usr?

Question79: What is NOT contained in the locale setting of the operating system?

Question80: What is the purpose of the iconv command?

Question81: When the command echo $$ outputs 12942, what is the meaning of 12942?

Question82: What output will the following command produce?
seq 1 5 20

Question83: Which of the following steps prevents a user from obtaining an interactive login session?

Question84: What is the purpose of a screen reader?

Question85: SIMULATION
On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

Question86: What is the purpose of the command mailq?

Question87: Which file used by XDM specifies the default wallpaper?

Question88: What is true about the file /etc/localtime?

Question89: Which file contains the date of the last change of a user's password?

Question90: Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

Question91: In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

Question92: After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?

Question93: Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

Question94: On a regular users workstation the route command takes a long time before printing out the routing table.
Which of the following errors does that indicate?

Question95: Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

Question96: Which of the following commands can remove a user from a group?

Question97: When the command echo $ outputs 1, which of the following statements is true?

Question98: SIMULATION
Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

Question99: SIMULATION
Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

Question100: SIMULATION
Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

Question101: Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

Question102: SIMULATION
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Question103: Which of the following programs can be used to determine the routing path to a given destination?

Question104: SIMULATION
What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)

Question105: Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

Question106: Which of the following commands is used to rotate, compress, and mail system logs?

Question107: What is true regarding a default route?